







[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Finds the index of the last item, in the range of count items ending at index, that satisfies the condition
defined by predicate. If no item matches the condition, -1 is returned.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public virtual int FindLastIndex( int index, int count, Predicate<T> predicate ) |
Visual Basic (Declaration) |
---|
Public Overridable Function FindLastIndex ( _ index As Integer, _ count As Integer, _ predicate As Predicate(Of T) _ ) As Integer |
Visual C++ |
---|
public: virtual int FindLastIndex ( int index, int count, Predicate<T>^ predicate ) |
Parameters
- index
- Int32
The ending index of the range to check.
- count
- Int32
The number of items in range to check.
- predicate
- Predicate<(Of <T>)>
A delegate that defined the condition to check for.
Return Value
The index of the last item in the given range that satisfies the condition predicate. If no item satisfies that condition, -1 is returned.
See Also
ListBase<(Of <T>)> Class
Wintellect.PowerCollections Namespace